
add_executable(
    demo_async_socket
    main.c
)

# # 查找 async_io 库并设置 async_io_INCLUDE_DIRS async_io_LIBRARIES 变量
# find_package(async_io REQUIRED)

# message("async_io_LIBRARIES: " ${async_io_LIBRARIES})
# message("async_io_VERSION: " ${async_io_VERSION})

# # 将 async_io 的头文件目录添加到 include 目录
# target_include_directories(demo 
#     PRIVATE
#     ${async_io_INCLUDE_DIRS}
# )

# # 将 async_io 的链接库添加到你的项目中
# target_link_libraries(demo 
#     PRIVATE
#     ${async_io_LIBRARIES}
# )

target_link_libraries(demo_async_socket 
    PRIVATE
    async_io
)